﻿namespace Arms.Persistence.Modules.Geography.Mappings
{
    using Arms.Domain.Modules.Geography;
    using System;

    internal class CityMap : PointBaseMap<City>
    {
        public CityMap()
            : base()
        {
            HasMany(x => x.Places).WithRequired(x => x.City).HasForeignKey(x => x.CityID);
        }
    }
}
